
<template>
  <!-- 小弹框 width:500,height:0.3,top:15%  -->
  <!-- 中弹框 width:800,height:0.5,top:10% -->
  <!-- 大弹框 width:1060,height:0.76,top:5% -->

  <div class="Control-1 mechanism_dialogS closure" id="comcn small">
    <el-dialog
      width="1060px"
      v-loading="loading"
      element-loading-text="拼命加载中"
      element-loading-background="rgba(0, 0, 0, 0.2)"
      element-loading-spinner="el-icon-loading"
      :title="title"
      v-dialogDrag
      :visible.sync="visible"
      @close="closeDialog"
      :append-to-body="true"
      top="5%"
    >
      <div
        class="dialogBody common commonClassDialog moduleDialog"
        id="longLable"
        :style="{ height: dialogHeight }"
        style="width: 100%"
      >
        <div style="overflow-y: auto; margin-bottom: 20px">
          <!-- <div class="baseTitle">基本信息</div>
          <div style="height: 100px; margin-top: 3px">
            <publicForm
              ref="publicForm"
              lableWidth="115px"
              :formObj="basicFormObj"
              :formData="basicFormData"
            >
            </publicForm>
          </div> -->
          <!-- <div class="baseTitle" v-show="handNum">闭合申请单</div> -->

          <el-collapse v-model="activeNames" @change="changeCollapse">
            <el-collapse-item name="0" v-show="handNum">
              <!-- <el-collapse-item name="0" > -->
              <template slot="title">
                <div>
                  <img
                    style="vertical-align: middle"
                    src="@/assets/img/Supervision/com_flg.png"
                    alt=""
                  />
                  <span style="margin-left: 8px">闭合申请单</span>
                  <!-- <span style="margin-left: 8px">一级审核</span> -->
                </div>
              </template>
              <div style="height: 220px; margin-top: 3px">
                <publicForm
                  ref="publicForm0"
                  lableWidth="115px"
                  :formObj="closeFormObj"
                  :formData="closeFormData"
                  @selectChange="selectChange"
                  :timestamp="closeFormData.fHandlefile"
                  :fileList="closeFileurllist"
                  @delteFile="delteFile($event, 0)"
                >
                </publicForm>
              </div>
            </el-collapse-item>

            <el-collapse-item name="1" v-show="firstNum">
              <template slot="title">
                <div>
                  <img
                    style="vertical-align: middle"
                    src="@/assets/img/Supervision/com_flg.png"
                    alt=""
                  />
                  <span style="margin-left: 8px">一级审核</span>
                  <!-- <span style="margin-left: 8px">二级审核</span> -->
                </div>
              </template>
              <div style="height: 110px; margin-top: 3px">
                <publicForm
                  ref="publicForm1"
                  lableWidth="115px"
                  :formObj="FauditFormObj"
                  :formData="closeFormData"
                  @selectChange="selectChange"
                  :timestamp="closeFormData.fFirstcheckfile"
                  :fileList="FauditFileurllist"
                  @delteFile="delteFile($event, 1)"
                >
                </publicForm>
              </div>
            </el-collapse-item>
            <el-collapse-item name="2" v-show="secondNum">
              <template slot="title">
                <div>
                  <img
                    style="vertical-align: middle"
                    src="@/assets/img/Supervision/com_flg.png"
                    alt=""
                  />
                  <span style="margin-left: 8px">二级审核</span>
                  <!-- <span style="margin-left: 8px">三级审核</span> -->
                </div>
              </template>
              <div style="height: 110px; margin-top: 3px">
                <publicForm
                  ref="publicForm2"
                  lableWidth="115px"
                  :formObj="SauditFormObj"
                  :formData="closeFormData"
                  @selectChange="selectChange"
                  :timestamp="closeFormData.fSecondcheckfile"
                  :fileList="SauditFileurllist"
                  @delteFile="delteFile($event, 2)"
                >
                </publicForm>
              </div>
            </el-collapse-item>
          </el-collapse>
        </div>
        <div class="newlyAdded_btn" v-if="btnShow">
          <el-button
            :disabled="isLock"
            type="primary"
            @click="yj_saveForm(closeFormData)"
          >
            保存
          </el-button>
          <el-button type="warning" @click="visible = false">关闭</el-button>
        </div>
      </div>
    </el-dialog>
  </div>
</template>

<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
